package com.javaframe.role.entity;

/**
 * Urls entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Urls implements java.io.Serializable {

	// Fields

	private Integer urlId;
	private String name;
	private String url;
	private Long parentid;
	private Long number;
	private int leaf;
	private Integer roleid;
	// Constructors

	public Long getParentid() {
		return parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	public Long getNumber() {
		return number;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	public int getLeaf() {
		return leaf;
	}

	public void setLeaf(int leaf) {
		this.leaf = leaf;
	}

	public Integer getRoleid() {
		return roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	/** default constructor */
	public Urls() {
	}

	/** minimal constructor */
	public Urls(Integer urlId) {
		this.urlId = urlId;
	}

	/** full constructor */
	public Urls(Integer urlId, String name, String url) {
		this.urlId = urlId;
		this.name = name;
		this.url = url;
	}

	// Property accessors

	public Integer getUrlId() {
		return this.urlId;
	}

	public void setUrlId(Integer urlId) {
		this.urlId = urlId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}